package com.clougence.cloudcanal.dataprocess.datatransform.common;

/**
 * @author liy
 * @date 2021/8/6 18:12
 */
public interface GlanceRecordConstants {

    String eventData                  = "event_data";

    String utm_source                 = "utm_source";

    String utm_medium                 = "utm_medium";

    String utm_campaign               = "utm_campaign";

    String utm_term                   = "utm_term";

    String utm_time                   = "time";

    String WH_ODS_GLANCE_EVENT_RECORD = "wh_ods_glance_event_record";

    int    JOB_START_TIME             = 1630512000;

    long   TASK_START_TIME            = 1630512000000L;

    long   TASK_ADD_HOURS             = 36L;

    /**
     *  头节点
     */
    interface Header {
        String country   = "country";
        String clientId  = "client_id";
        String unionId   = "union_id";
        String userId    = "user_id";
        String reqTime   = "time";
        String version   = "version";
        String gbLang    = "gb_lang";
        String deviceId  = "device_id";
        String timezone  = "timezone";
        String event     = "event";
        String time      = "time";
        String utmSource = "utm_source";
        String code      = "code";
        String url       = "url";
        String union     = "unionId";
        String refferNo  = "refferNo";
        String utmMedium = "utm_medium";
        String env       = "env";
        String network   = "network";
        String referrer  = "referrer";
        String utmData   = "utm_data";
        String platform  = "platform";
        String eventData = "event_data";
        String title     = "title";
        String cpu       = "cpu";
        String language  = "language";
        String userAgent = "user_agent";
        String utm       = "utm";
        String sessionId = "session_id";
        String screen    = "screen";
    }

    int    batch_num                = 1000;

    int    page_num                 = 3000;

    String EVENT_UTM_LANDING        = "utm_landing";
    String EVENT_REGISTER_CREATE    = "gb_register_create";

    int    DETAIL_JSON_CONTENT_SIZE = 1000;

    String SOURCE_DATA              = "source_data";
    String ID                       = "id";
    String IP                       = "ip";

    String CREATE_TIME              = "create_time";

    String USER_AGENT               = "user_agent";
    String ORDER_ID                 = "order_id";
    String paymentType              = "paymentType";
    String payAmount                = "payAmount";
    String PAY_NUMBER               = "pay_number";

    String EVENT_UTM_DATA             = "utmData";
}
